<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>风格指南(符号+命名) | Planb(方案B)</title>
    <meta name="generator" content="VuePress 1.5.2">
    <link rel="icon" href="https://luo0412.gitee.io/static/images/logo/favicon.ico">
    <link rel="stylesheet" type="text/css" href="https://unpkg.com/viewerjs@1.9.0/dist/viewer.css">
    <script>((window.gitter = {}).chat = {}).options = {
    room: 'luo0412/planb'
};
</script>
    <script src="https://sidecar.gitter.im/dist/sidecar.v1.js"></script>
    <script src="https://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="https://unpkg.com/viewerjs@1.9.0/dist/viewer.js"></script>
    <script>$(function () {

    // 1) 去掉中二病文字
    $(".navbar .dropdown-wrapper .title").each(function (index, item) {
        var title = $(item).text() || ""
        console.log(title)
        var index = title.indexOf("(")
        if (index > -1) {
            $(item).text(title.slice(0, index))
        }
    })
        
    // 2) 图片双击后支持预览
    var viewer = null
    $(document).on("dblclick","p img",function() {
        if (viewer != null) {
            viewer.destroy()
        }
        viewer = new Viewer(document.getElementById('app'), {
            viewed() {
                viewer.zoomTo(1);
            },
        });
    })

})</script>
    <meta name="description" content="方案B">
    <link rel="preload" href="/planb/assets/css/0.styles.140cd09c.css" as="style"><link rel="preload" href="/planb/assets/js/app.bdedf86b.js" as="script"><link rel="preload" href="/planb/assets/js/2.0fac2cb2.js" as="script"><link rel="preload" href="/planb/assets/js/8.9cfd571d.js" as="script"><link rel="prefetch" href="/planb/assets/js/10.a9b893fe.js"><link rel="prefetch" href="/planb/assets/js/100.6df091e4.js"><link rel="prefetch" href="/planb/assets/js/101.e5f18ae0.js"><link rel="prefetch" href="/planb/assets/js/102.72434743.js"><link rel="prefetch" href="/planb/assets/js/103.9ff66ccc.js"><link rel="prefetch" href="/planb/assets/js/104.3cf26cc7.js"><link rel="prefetch" href="/planb/assets/js/105.0ce6c927.js"><link rel="prefetch" href="/planb/assets/js/106.b553440c.js"><link rel="prefetch" href="/planb/assets/js/107.f6b0cf29.js"><link rel="prefetch" href="/planb/assets/js/108.4a269927.js"><link rel="prefetch" href="/planb/assets/js/109.4d83025e.js"><link rel="prefetch" href="/planb/assets/js/11.f863fa6e.js"><link rel="prefetch" href="/planb/assets/js/110.cc4340e0.js"><link rel="prefetch" href="/planb/assets/js/111.27066834.js"><link rel="prefetch" href="/planb/assets/js/112.d2fee539.js"><link rel="prefetch" href="/planb/assets/js/113.7d4832fa.js"><link rel="prefetch" href="/planb/assets/js/114.ef574d94.js"><link rel="prefetch" href="/planb/assets/js/115.5dd00323.js"><link rel="prefetch" href="/planb/assets/js/116.89d22a48.js"><link rel="prefetch" href="/planb/assets/js/117.09e6be04.js"><link rel="prefetch" href="/planb/assets/js/118.29181f5f.js"><link rel="prefetch" href="/planb/assets/js/119.c6b3b78c.js"><link rel="prefetch" href="/planb/assets/js/12.186e073a.js"><link rel="prefetch" href="/planb/assets/js/120.1d7eb3ed.js"><link rel="prefetch" href="/planb/assets/js/121.525076c8.js"><link rel="prefetch" href="/planb/assets/js/122.827ebe59.js"><link rel="prefetch" href="/planb/assets/js/123.60a94442.js"><link rel="prefetch" href="/planb/assets/js/124.d039349b.js"><link rel="prefetch" href="/planb/assets/js/125.cf2d4b5b.js"><link rel="prefetch" href="/planb/assets/js/126.704cacd9.js"><link rel="prefetch" href="/planb/assets/js/127.a2f3b2cd.js"><link rel="prefetch" href="/planb/assets/js/128.71ecb1b4.js"><link rel="prefetch" href="/planb/assets/js/129.320eb152.js"><link rel="prefetch" href="/planb/assets/js/13.43bc876a.js"><link rel="prefetch" href="/planb/assets/js/130.a31207d9.js"><link rel="prefetch" href="/planb/assets/js/131.f6bd43ee.js"><link rel="prefetch" href="/planb/assets/js/132.e4a0f416.js"><link rel="prefetch" href="/planb/assets/js/133.4dcd99b0.js"><link rel="prefetch" href="/planb/assets/js/134.07034e44.js"><link rel="prefetch" href="/planb/assets/js/135.649b8fb3.js"><link rel="prefetch" href="/planb/assets/js/136.a6f766b7.js"><link rel="prefetch" href="/planb/assets/js/137.28fef1c8.js"><link rel="prefetch" href="/planb/assets/js/138.724acd09.js"><link rel="prefetch" href="/planb/assets/js/139.03c39e7d.js"><link rel="prefetch" href="/planb/assets/js/14.a48d2e70.js"><link rel="prefetch" href="/planb/assets/js/140.b2c94add.js"><link rel="prefetch" href="/planb/assets/js/141.43f7e7a5.js"><link rel="prefetch" href="/planb/assets/js/142.2fd41b6b.js"><link rel="prefetch" href="/planb/assets/js/143.dab84733.js"><link rel="prefetch" href="/planb/assets/js/144.12dab2b8.js"><link rel="prefetch" href="/planb/assets/js/145.0eeb21c2.js"><link rel="prefetch" href="/planb/assets/js/146.645dc087.js"><link rel="prefetch" href="/planb/assets/js/147.33b1fc74.js"><link rel="prefetch" href="/planb/assets/js/148.dcd39cc3.js"><link rel="prefetch" href="/planb/assets/js/149.dfb95e32.js"><link rel="prefetch" href="/planb/assets/js/15.2c49fd25.js"><link rel="prefetch" href="/planb/assets/js/150.756b67d8.js"><link rel="prefetch" href="/planb/assets/js/151.de81d4d1.js"><link rel="prefetch" href="/planb/assets/js/152.076e6d02.js"><link rel="prefetch" href="/planb/assets/js/153.9f647f12.js"><link rel="prefetch" href="/planb/assets/js/154.15418412.js"><link rel="prefetch" href="/planb/assets/js/155.53b33396.js"><link rel="prefetch" href="/planb/assets/js/156.1afed335.js"><link rel="prefetch" href="/planb/assets/js/157.a7dfbf6d.js"><link rel="prefetch" href="/planb/assets/js/158.eaf3024e.js"><link rel="prefetch" href="/planb/assets/js/159.8ed5fe73.js"><link rel="prefetch" href="/planb/assets/js/16.9e93d2c0.js"><link rel="prefetch" href="/planb/assets/js/160.cffd3005.js"><link rel="prefetch" href="/planb/assets/js/161.0fd8d033.js"><link rel="prefetch" href="/planb/assets/js/162.43785e50.js"><link rel="prefetch" href="/planb/assets/js/163.b2c65bf4.js"><link rel="prefetch" href="/planb/assets/js/164.2779ea26.js"><link rel="prefetch" href="/planb/assets/js/165.286dc11f.js"><link rel="prefetch" href="/planb/assets/js/166.807beb5c.js"><link rel="prefetch" href="/planb/assets/js/167.10f0dce0.js"><link rel="prefetch" href="/planb/assets/js/17.a13530c4.js"><link rel="prefetch" href="/planb/assets/js/18.d9e01f8d.js"><link rel="prefetch" href="/planb/assets/js/19.146b4c9d.js"><link rel="prefetch" href="/planb/assets/js/20.e87d59c7.js"><link rel="prefetch" href="/planb/assets/js/21.18086acc.js"><link rel="prefetch" href="/planb/assets/js/22.e86b7d49.js"><link rel="prefetch" href="/planb/assets/js/23.5005ff9e.js"><link rel="prefetch" href="/planb/assets/js/24.f74096d6.js"><link rel="prefetch" href="/planb/assets/js/25.e8cd10a7.js"><link rel="prefetch" href="/planb/assets/js/26.e109c325.js"><link rel="prefetch" href="/planb/assets/js/27.26575afd.js"><link rel="prefetch" href="/planb/assets/js/28.03ebfa3f.js"><link rel="prefetch" href="/planb/assets/js/29.f709b66e.js"><link rel="prefetch" href="/planb/assets/js/3.cfe91491.js"><link rel="prefetch" href="/planb/assets/js/30.ef686ff0.js"><link rel="prefetch" href="/planb/assets/js/31.a615c42f.js"><link rel="prefetch" href="/planb/assets/js/32.2135fe9e.js"><link rel="prefetch" href="/planb/assets/js/33.2311b33d.js"><link rel="prefetch" href="/planb/assets/js/34.07893bb3.js"><link rel="prefetch" href="/planb/assets/js/35.5666ca84.js"><link rel="prefetch" href="/planb/assets/js/36.e8151568.js"><link rel="prefetch" href="/planb/assets/js/37.211496bd.js"><link rel="prefetch" href="/planb/assets/js/38.7e59179b.js"><link rel="prefetch" href="/planb/assets/js/39.9f4b4047.js"><link rel="prefetch" href="/planb/assets/js/4.fae4b920.js"><link rel="prefetch" href="/planb/assets/js/40.e63e3fd6.js"><link rel="prefetch" href="/planb/assets/js/41.022d0dc0.js"><link rel="prefetch" href="/planb/assets/js/42.d4c6152e.js"><link rel="prefetch" href="/planb/assets/js/43.fe1f7882.js"><link rel="prefetch" href="/planb/assets/js/44.ab7054d4.js"><link rel="prefetch" href="/planb/assets/js/45.c37f2b43.js"><link rel="prefetch" href="/planb/assets/js/46.cf0d8222.js"><link rel="prefetch" href="/planb/assets/js/47.0235dbfe.js"><link rel="prefetch" href="/planb/assets/js/48.9991a65f.js"><link rel="prefetch" href="/planb/assets/js/49.c72b453e.js"><link rel="prefetch" href="/planb/assets/js/5.6ba60208.js"><link rel="prefetch" href="/planb/assets/js/50.2143daa9.js"><link rel="prefetch" href="/planb/assets/js/51.842c044a.js"><link rel="prefetch" href="/planb/assets/js/52.c6488fbb.js"><link rel="prefetch" href="/planb/assets/js/53.86e2f558.js"><link rel="prefetch" href="/planb/assets/js/54.5bc614d2.js"><link rel="prefetch" href="/planb/assets/js/55.b96b38c6.js"><link rel="prefetch" href="/planb/assets/js/56.939196a6.js"><link rel="prefetch" href="/planb/assets/js/57.8d269e3d.js"><link rel="prefetch" href="/planb/assets/js/58.ee47f577.js"><link rel="prefetch" href="/planb/assets/js/59.f4ab7e02.js"><link rel="prefetch" href="/planb/assets/js/6.5bea5c32.js"><link rel="prefetch" href="/planb/assets/js/60.783e6e9f.js"><link rel="prefetch" href="/planb/assets/js/61.6cfcbc8d.js"><link rel="prefetch" href="/planb/assets/js/62.f84d2069.js"><link rel="prefetch" href="/planb/assets/js/63.e626d2e9.js"><link rel="prefetch" href="/planb/assets/js/64.5f201ddd.js"><link rel="prefetch" href="/planb/assets/js/65.c493885b.js"><link rel="prefetch" href="/planb/assets/js/66.485fa900.js"><link rel="prefetch" href="/planb/assets/js/67.738591bb.js"><link rel="prefetch" href="/planb/assets/js/68.1ab2e03b.js"><link rel="prefetch" href="/planb/assets/js/69.cc9cbf12.js"><link rel="prefetch" href="/planb/assets/js/7.7ee29df4.js"><link rel="prefetch" href="/planb/assets/js/70.e5db4b8f.js"><link rel="prefetch" href="/planb/assets/js/71.1de00864.js"><link rel="prefetch" href="/planb/assets/js/72.f3a12d9b.js"><link rel="prefetch" href="/planb/assets/js/73.cb06c0f3.js"><link rel="prefetch" href="/planb/assets/js/74.523dd63b.js"><link rel="prefetch" href="/planb/assets/js/75.bf8f432a.js"><link rel="prefetch" href="/planb/assets/js/76.cecce9f4.js"><link rel="prefetch" href="/planb/assets/js/77.42d1e5d3.js"><link rel="prefetch" href="/planb/assets/js/78.5496221d.js"><link rel="prefetch" href="/planb/assets/js/79.51e9a89c.js"><link rel="prefetch" href="/planb/assets/js/80.a253999e.js"><link rel="prefetch" href="/planb/assets/js/81.7de58e65.js"><link rel="prefetch" href="/planb/assets/js/82.f6c95365.js"><link rel="prefetch" href="/planb/assets/js/83.7429b512.js"><link rel="prefetch" href="/planb/assets/js/84.7df58440.js"><link rel="prefetch" href="/planb/assets/js/85.a2644150.js"><link rel="prefetch" href="/planb/assets/js/86.9b415410.js"><link rel="prefetch" href="/planb/assets/js/87.a7b640eb.js"><link rel="prefetch" href="/planb/assets/js/88.f326237e.js"><link rel="prefetch" href="/planb/assets/js/89.c2cacb14.js"><link rel="prefetch" href="/planb/assets/js/9.c780e90f.js"><link rel="prefetch" href="/planb/assets/js/90.c2d10d8c.js"><link rel="prefetch" href="/planb/assets/js/91.166185cb.js"><link rel="prefetch" href="/planb/assets/js/92.cfccd3b8.js"><link rel="prefetch" href="/planb/assets/js/93.8ca9c42e.js"><link rel="prefetch" href="/planb/assets/js/94.33c050a5.js"><link rel="prefetch" href="/planb/assets/js/95.65ccc005.js"><link rel="prefetch" href="/planb/assets/js/96.ae2177e0.js"><link rel="prefetch" href="/planb/assets/js/97.cf0ef476.js"><link rel="prefetch" href="/planb/assets/js/98.094cd727.js"><link rel="prefetch" href="/planb/assets/js/99.8d6bc09c.js">
    <link rel="stylesheet" href="/planb/assets/css/0.styles.140cd09c.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container no-sidebar"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/planb/" class="home-link router-link-active"><!----> <span class="site-name">Planb(方案B)</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Service Go" class="dropdown-title"><span class="title">Service Go</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch1-core-routine/" class="nav-link">
  Core Routine
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch3-web-gin/" class="nav-link">
  Web Gin
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch4-micro-grpc/" class="nav-link">
  Micro Grpc
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch5-devops-cicd/" class="nav-link">
  Devops Cicd
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch6-platform-faas/" class="nav-link">
  Platform Faas
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch7-chain-coin/" class="nav-link">
  Chain Coin
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch8-arch-cloud/" class="nav-link">
  Arch Cloud
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Service Rust" class="dropdown-title"><span class="title">Service Rust</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch1-core-unsafe/" class="nav-link">
  Core Unsafe
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch3-web-actix/" class="nav-link">
  Web Actix
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch4-system-cache/" class="nav-link">
  System Cache
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch5-devops-cicd/" class="nav-link">
  Devops Cicd
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch6-interface-ffi/" class="nav-link">
  Interface Ffi
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch7-bytecode-wasm/" class="nav-link">
  Bytecode Wasm
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch8-arch-cpu/" class="nav-link">
  Arch Cpu
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Ui Kotlin" class="dropdown-title"><span class="title">Ui Kotlin</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch1-core-ktjvm/" class="nav-link">
  Core Ktjvm
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch2-utils-media/" class="nav-link">
  Utils Media
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch3-sdk-firstline/" class="nav-link">
  Sdk Firstline
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch4-biz-template/" class="nav-link">
  Biz Template
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch5-devops-eng/" class="nav-link">
  Devops Eng
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch6-field-ffmpeg/" class="nav-link">
  Field Ffmpeg
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch7-highperf-art/" class="nav-link">
  Highperf Art
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch8-arch-plugins/" class="nav-link">
  Arch Plugins
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Data Julia" class="dropdown-title"><span class="title">Data Julia</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch1-core-perf/" class="nav-link">
  Core Perf
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch2-compute-val/" class="nav-link">
  Compute Val
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch2-model-ds/" class="nav-link">
  Model Ds
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch4-analysis-biz/" class="nav-link">
  Analysis Biz
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch5-devops-eng/" class="nav-link">
  Devops Eng
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch6-machine-flux/" class="nav-link">
  Machine Flux
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch7-cv-graphics/" class="nav-link">
  Cv Graphics
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch8-arch-future/" class="nav-link">
  Arch Future
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Data Scala" class="dropdown-title"><span class="title">Data Scala</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch1-core-func/" class="nav-link">
  Core Func
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch3-web-playror/" class="nav-link">
  Web Playror
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch4-bigdata-spark/" class="nav-link">
  Bigdata Spark
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch5-devops-skuber/" class="nav-link">
  Devops Skuber
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch6-ffi-withjava/" class="nav-link">
  Ffi Withjava
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch7-highperf-akka/" class="nav-link">
  Highperf Akka
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch8-arch-scalable/" class="nav-link">
  Arch Scalable
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="导航" class="dropdown-title"><span class="title">导航</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/note" target="_blank" rel="noopener noreferrer" class="nav-link external">
  开发索引
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/code" target="_blank" rel="noopener noreferrer" class="nav-link external">
  源码积累
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/arch" target="_blank" rel="noopener noreferrer" class="nav-link external">
  技术演进
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/planb" target="_blank" rel="noopener noreferrer" class="nav-link external">
  避险计划
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/book" target="_blank" rel="noopener noreferrer" class="nav-link external">
  读书心得
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="关于" class="dropdown-title"><span class="title">关于</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/inspired-by.html" class="nav-link">
  笔记灵感
</a></li><li class="dropdown-item"><!----> <a href="/planb/md-style.html" aria-current="page" class="nav-link router-link-exact-active router-link-active">
  书写风格
</a></li><li class="dropdown-item"><!----> <a href="/planb/about-me.html" class="nav-link">
  人生奥义
</a></li><li class="dropdown-item"><!----> <a href="/planb/related-links.html" class="nav-link">
  相关链接
</a></li></ul></div></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Service Go" class="dropdown-title"><span class="title">Service Go</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch1-core-routine/" class="nav-link">
  Core Routine
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch3-web-gin/" class="nav-link">
  Web Gin
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch4-micro-grpc/" class="nav-link">
  Micro Grpc
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch5-devops-cicd/" class="nav-link">
  Devops Cicd
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch6-platform-faas/" class="nav-link">
  Platform Faas
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch7-chain-coin/" class="nav-link">
  Chain Coin
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch8-arch-cloud/" class="nav-link">
  Arch Cloud
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-go/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Service Rust" class="dropdown-title"><span class="title">Service Rust</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch1-core-unsafe/" class="nav-link">
  Core Unsafe
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch3-web-actix/" class="nav-link">
  Web Actix
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch4-system-cache/" class="nav-link">
  System Cache
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch5-devops-cicd/" class="nav-link">
  Devops Cicd
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch6-interface-ffi/" class="nav-link">
  Interface Ffi
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch7-bytecode-wasm/" class="nav-link">
  Bytecode Wasm
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch8-arch-cpu/" class="nav-link">
  Arch Cpu
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.3.service-rust/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Ui Kotlin" class="dropdown-title"><span class="title">Ui Kotlin</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch1-core-ktjvm/" class="nav-link">
  Core Ktjvm
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch2-utils-media/" class="nav-link">
  Utils Media
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch3-sdk-firstline/" class="nav-link">
  Sdk Firstline
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch4-biz-template/" class="nav-link">
  Biz Template
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch5-devops-eng/" class="nav-link">
  Devops Eng
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch6-field-ffmpeg/" class="nav-link">
  Field Ffmpeg
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch7-highperf-art/" class="nav-link">
  Highperf Art
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch8-arch-plugins/" class="nav-link">
  Arch Plugins
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.4.ui-kotlin/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Data Julia" class="dropdown-title"><span class="title">Data Julia</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch1-core-perf/" class="nav-link">
  Core Perf
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch2-compute-val/" class="nav-link">
  Compute Val
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch2-model-ds/" class="nav-link">
  Model Ds
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch4-analysis-biz/" class="nav-link">
  Analysis Biz
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch5-devops-eng/" class="nav-link">
  Devops Eng
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch6-machine-flux/" class="nav-link">
  Machine Flux
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch7-cv-graphics/" class="nav-link">
  Cv Graphics
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch8-arch-future/" class="nav-link">
  Arch Future
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-julia/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="Data Scala" class="dropdown-title"><span class="title">Data Scala</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch1-core-func/" class="nav-link">
  Core Func
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch2-utils-wheels/" class="nav-link">
  Utils Wheels
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch3-web-playror/" class="nav-link">
  Web Playror
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch4-bigdata-spark/" class="nav-link">
  Bigdata Spark
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch5-devops-skuber/" class="nav-link">
  Devops Skuber
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch6-ffi-withjava/" class="nav-link">
  Ffi Withjava
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch7-highperf-akka/" class="nav-link">
  Highperf Akka
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch8-arch-scalable/" class="nav-link">
  Arch Scalable
</a></li><li class="dropdown-item"><!----> <a href="/planb/nav.5.data-scala/ch9-code-interview/" class="nav-link">
  Code Interview
</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="导航" class="dropdown-title"><span class="title">导航</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/note" target="_blank" rel="noopener noreferrer" class="nav-link external">
  开发索引
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/code" target="_blank" rel="noopener noreferrer" class="nav-link external">
  源码积累
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/arch" target="_blank" rel="noopener noreferrer" class="nav-link external">
  技术演进
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/planb" target="_blank" rel="noopener noreferrer" class="nav-link external">
  避险计划
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li class="dropdown-item"><!----> <a href="http://luo0412.gitee.io/book" target="_blank" rel="noopener noreferrer" class="nav-link external">
  读书心得
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><button type="button" aria-label="关于" class="dropdown-title"><span class="title">关于</span> <span class="arrow right"></span></button> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/planb/inspired-by.html" class="nav-link">
  笔记灵感
</a></li><li class="dropdown-item"><!----> <a href="/planb/md-style.html" aria-current="page" class="nav-link router-link-exact-active router-link-active">
  书写风格
</a></li><li class="dropdown-item"><!----> <a href="/planb/about-me.html" class="nav-link">
  人生奥义
</a></li><li class="dropdown-item"><!----> <a href="/planb/related-links.html" class="nav-link">
  相关链接
</a></li></ul></div></div> <!----></nav>  <!----> </aside> <main class="page"> <div class="theme-default-content content__default"><h1 id="风格指南-符号-命名"><a href="#风格指南-符号-命名" class="header-anchor">#</a> 风格指南(符号+命名)</h1> <ul><li>书写习惯</li> <li>目录层级</li> <li>项目命名</li> <li>文件命名</li> <li>常用符号</li></ul> <h1 id="书写习惯"><a href="#书写习惯" class="header-anchor">#</a> 书写习惯</h1> <ul><li>用空格比逗号好</li> <li>用换行比句号好(几乎不使用句号)</li> <li><code>不用[xxx](http://)</code>隐藏链接(除非太长) --&gt; 网址本身也是一种信息</li> <li>不分h1-h6, 让工具自行分析结构 --&gt; @eg toc</li> <li>用分隔线/大波浪适时地划分逻辑内容</li> <li>代码段不加语言类型, 用来记录碎片形式的笔记</li> <li><code>@xxx</code>形式的内容，如果不是下文中指定的常用注解符号, 尽量用代码块包裹, 免得内容解析时出错</li> <li><code>每篇文章最好有至少一张图片</code> --&gt; 有利于记忆(类似地标)</li> <li>图片尽量本地, 减少引用第三方来源, 但对应的需要标出来源</li> <li>读书笔记, 只记录<code>感触最深</code>的地方 --&gt; 可以先抄个目录来迈出第一步</li></ul> <h1 id="目录层级"><a href="#目录层级" class="header-anchor">#</a> 目录层级</h1> <ul><li>最多9个chapter</li> <li>最多5个topic</li></ul> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// 层级上尽可能保持扁平, 点2下就应该找到那篇文章</span>
<span class="token punctuation">[</span><span class="token number">0</span><span class="token punctuation">]</span>collection 
    ch9<span class="token operator">-</span>chapter 
        topic5 
            _appendix1

<span class="token comment">// appendix如下: </span>
<span class="token comment">// private --&gt; 私人内容, 不方便公开的</span>
cmpt<span class="token punctuation">,</span> <span class="token keyword">case</span><span class="token punctuation">,</span> tag <span class="token operator">--</span><span class="token operator">&gt;</span> 组件<span class="token operator">/</span>案例<span class="token operator">/</span>示例<span class="token operator">/</span>标签
record<span class="token punctuation">,</span> idea<span class="token operator">/</span>faq<span class="token punctuation">,</span> todo <span class="token operator">--</span><span class="token operator">&gt;</span> 按照时间轴记录
<span class="token comment">// notnow/old, offcut, halfway --&gt; 不推荐的/过时内容, “战略放弃”</span>
<span class="token comment">// code --&gt; 代码片段</span>
<span class="token comment">// spec --&gt; 标准规范</span>
<span class="token comment">// minor --&gt; 少数派 </span>

<span class="token operator">===</span>
思维导图因为编辑更新比较耗时
所以我用现在的笔记法代替了它

有意识地划分成<span class="token constant">N</span>块是为了暗示初学者可穷尽
但事实上并非如此

appendix<span class="token punctuation">,</span> <span class="token function">应该是补充内容</span><span class="token punctuation">(</span>建议仅<span class="token number">1</span>个<span class="token punctuation">)</span>
即使删除也不应当影响主干的完整叙述
</code></pre></div><h1 id="项目命名"><a href="#项目命名" class="header-anchor">#</a> 项目命名</h1> <div class="language-java extra-class"><pre class="language-java"><code><span class="token comment">// 词语顺序</span>
<span class="token number">0</span><span class="token punctuation">)</span> 项目前缀 <span class="token operator">-&gt;</span><span class="token operator">&gt;</span>

<span class="token number">1</span><span class="token punctuation">)</span> 项目内容
项目类型<span class="token punctuation">(</span>tpl<span class="token operator">/</span>demo<span class="token punctuation">)</span> 
<span class="token operator">+</span> 业务定位<span class="token punctuation">(</span>admin<span class="token operator">/</span>mall<span class="token operator">/</span>blog<span class="token operator">/</span>door<span class="token operator">/</span>portal<span class="token punctuation">)</span>
<span class="token operator">+</span> 应用场景<span class="token punctuation">(</span>pc<span class="token operator">/</span>h5<span class="token operator">/</span>minapp<span class="token operator">/</span>ie10<span class="token punctuation">)</span> 

<span class="token number">2</span><span class="token punctuation">)</span> 底层技术
底层环境<span class="token punctuation">(</span>jdk8<span class="token punctuation">)</span>
<span class="token operator">+</span> 构建工具<span class="token punctuation">(</span>webpack<span class="token punctuation">)</span> 

<span class="token number">3</span><span class="token punctuation">)</span> 特色标识
基础框架<span class="token punctuation">(</span>ssm<span class="token operator">/</span>ssh<span class="token operator">/</span>springboot2<span class="token punctuation">)</span> 
<span class="token operator">+</span> 特色技术<span class="token punctuation">(</span>beetl<span class="token operator">/</span>hikaricp<span class="token punctuation">)</span> 
<span class="token operator">+</span> 项目名称<span class="token operator">/</span>作者<span class="token operator">/</span>来源标记

<span class="token number">4</span><span class="token punctuation">)</span> 时间版本
版本<span class="token punctuation">(</span>v3<span class="token punctuation">.</span><span class="token number">4.2</span><span class="token punctuation">)</span>
<span class="token operator">+</span> 时间<span class="token punctuation">(</span><span class="token number">20191208</span><span class="token punctuation">)</span>
</code></pre></div><h1 id="项目前缀"><a href="#项目前缀" class="header-anchor">#</a> 项目前缀</h1> <ul><li>已使用</li></ul> <div class="language-js extra-class"><pre class="language-js"><code>night <span class="token operator">--</span><span class="token operator">&gt;</span> 不公开的私人项目

<span class="token comment">// 桂影斑驳, 不灭的纹理</span>
laurel<span class="token operator">:</span> 月桂 <span class="token operator">--</span><span class="token operator">&gt;</span> python学习
tattoo<span class="token operator">:</span> 纹身 <span class="token operator">--</span><span class="token operator">&gt;</span> python自研框架

<span class="token comment">// 冰雪消融, 裸露出自然的肌肤</span>
natural <span class="token operator">--</span><span class="token operator">&gt;</span> javascript学习
melt <span class="token operator">--</span><span class="token operator">&gt;</span> javascript自研框架

<span class="token comment">// 喜欢那年夏天和风吹拂脸庞的感觉</span>
summer <span class="token operator">--</span><span class="token operator">&gt;</span> java学习
zephyr<span class="token operator">:</span> 和风<span class="token punctuation">;</span> 微风 <span class="token operator">--</span><span class="token operator">&gt;</span> java自研框架

<span class="token comment">// 就像一个人无法遏制对曙光的热爱</span>
crush <span class="token operator">--</span><span class="token operator">&gt;</span> golang学习
aurora<span class="token operator">:</span> 极光<span class="token punctuation">;</span> 曙光<span class="token punctuation">;</span> 曙光女神 <span class="token operator">--</span><span class="token operator">&gt;</span> golang自研框架

<span class="token comment">// 因为爱过你, 所以持续痛苦</span>
agony<span class="token operator">:</span> <span class="token punctuation">(</span>精神或肉体的<span class="token punctuation">)</span> 极度痛苦<span class="token punctuation">,</span> 谐音“爱过你” <span class="token operator">--</span><span class="token operator">&gt;</span> algorithm学习
linger<span class="token operator">:</span> 继续存留<span class="token punctuation">;</span> 缓慢消失<span class="token punctuation">;</span> 流连<span class="token punctuation">;</span> <span class="token function">花很长时间做</span><span class="token punctuation">(</span>某事<span class="token punctuation">)</span><span class="token punctuation">;</span> <span class="token function">持续看</span><span class="token punctuation">(</span>或思考<span class="token punctuation">)</span> <span class="token operator">--</span><span class="token operator">&gt;</span> algorithm模型

<span class="token comment">// 俯瞰世界之大, 回首芸芸众生</span>
onism<span class="token operator">:</span> 世界如此之大<span class="token punctuation">,</span>自己能游历的地方却如此之小 <span class="token operator">--</span><span class="token operator">&gt;</span> hobby
sonder<span class="token operator">:</span> 过客感，恍然意识到生命中的芸芸过客都有自己波澜壮阔的一生 <span class="token operator">--</span><span class="token operator">&gt;</span> hobby

<span class="token comment">// 珍重两种感觉, 一种是醍醐灌顶, 一种是似曾相识 </span>
kindle<span class="token operator">:</span> 点亮思维 <span class="token operator">--</span><span class="token operator">&gt;</span> thought
dejavu<span class="token operator">:</span> 似曾经历过的感觉 <span class="token operator">--</span><span class="token operator">&gt;</span> thought
</code></pre></div><ul><li>备选</li></ul> <div class="language-js extra-class"><pre class="language-js"><code>cosy<span class="token operator">:</span> 温暖舒适
rosy<span class="token operator">:</span> 美好的<span class="token punctuation">,</span> 乐观的

wabi
sabi

wow
flipped<span class="token operator">/</span>flip<span class="token operator">:</span> 怦然心动

vesper<span class="token operator">:</span> 薄暮，晚祷<span class="token punctuation">;</span> 金星
sprout
</code></pre></div><ul><li>次选</li></ul> <div class="language-js extra-class"><pre class="language-js"><code>wing
crystal
olly<span class="token operator">:</span> 笑翠鸟 <span class="token operator">||</span> olly olly oxen free 孩童游戏里的一句口语 ≈ oh yeah
somnus<span class="token operator">:</span> 罂粟
glance
taxol<span class="token operator">:</span> 紫杉醇
abyss<span class="token operator">:</span> 深渊
halo<span class="token operator">:</span> <span class="token punctuation">(</span>绘画等中环绕圣人头上的<span class="token punctuation">)</span> 光环，光轮
</code></pre></div><ul><li>被占用 @maybe</li></ul> <div class="language-js extra-class"><pre class="language-js"><code>kilig<span class="token operator">:</span> 
    塔加拉族语<span class="token punctuation">,</span> 形容那种喜欢一个人喜欢得好像胃里正有成千上万只蝴蝶翩翩，
    一张嘴就要全部飞出来一样的醉醺醺、麻酥酥感

vanilla<span class="token operator">:</span> 香草冰淇淋
echo
vert<span class="token operator">:</span> 森林中的草木，绿色<span class="token punctuation">;</span>
meteor<span class="token operator">:</span> 流星
oreo<span class="token operator">:</span> 奥利奥
iris<span class="token operator">:</span> 难以表达的要溢出胸腔的满满的喜欢
</code></pre></div><h1 id="项目类型"><a href="#项目类型" class="header-anchor">#</a> 项目类型</h1> <ul><li><code>demo</code>/course/samples --&gt; 偏语法或学习</li> <li><code>tpl</code>/template --&gt; 可复用/业务封装</li> <li><code>cmpt</code>/component --&gt; 组件</li> <li><code>diff</code>/benchwork --&gt; 比较/性能对比</li> <li><code>diy</code> --&gt; 自己魔改</li> <li><code>mini</code> --&gt; 仿制的轮子</li> <li><code>analysis</code>/code --&gt; 源码分析</li> <li><code>algo</code>/algorithm --&gt; 算法</li> <li><code>arch</code>/architecture --&gt; 架构</li></ul> <h1 id="章节类型"><a href="#章节类型" class="header-anchor">#</a> 章节类型</h1> <ul><li>core/basics 核心/基础</li> <li>utils/components 工具</li> <li>web/service 主体</li> <li>devops 工程化</li> <li>platform 集大成者</li> <li>perf 极尽精华</li> <li>arch 终极一跃</li> <li>code/interview 末章回顾</li></ul> <h1 id="文件命名"><a href="#文件命名" class="header-anchor">#</a> 文件命名</h1> <div class="language-js extra-class"><pre class="language-js"><code><span class="token number">01</span><span class="token operator">-</span><span class="token punctuation">[</span>类型<span class="token punctuation">]</span><span class="token function">xxxx</span><span class="token punctuation">(</span>突出点<span class="token operator">/</span>重难点<span class="token operator">/</span>代表技术<span class="token operator">/</span>作者<span class="token punctuation">)</span><span class="token operator">-</span><span class="token number">201809</span>@nice<span class="token punctuation">.</span>md

<span class="token comment">// 类型 @todo</span>
基础 Basics
高级 Advanced
提纲 Summary
工具 Utils
书摘 Note
思考 Thinking
问题 Question
实践 Practice
模板 Template
生态 Ecology
方案 Solution

<span class="token operator">===</span>
@ps 实践性质文章默认是不加类型前缀的
</code></pre></div><hr> <h1 id="常用符号"><a href="#常用符号" class="header-anchor">#</a> 常用符号</h1> <ul><li>通用符号</li></ul> <div class="language-js extra-class"><pre class="language-js"><code><span class="token operator">:</span> 瞎jb解释一波
<span class="token operator">!</span><span class="token operator">!</span><span class="token operator">!</span><span class="token operator">!</span> <span class="token operator">=</span> @attention
<span class="token operator">??</span><span class="token operator">??</span> <span class="token operator">=</span> @doubt <span class="token function">存在质疑</span>
<span class="token punctuation">(</span>$<span class="token punctuation">)</span> <span class="token operator">=</span> @pay<span class="token operator">/</span>@paid <span class="token function">收费</span>
<span class="token punctuation">(</span><span class="token operator">*</span><span class="token punctuation">)</span> <span class="token operator">=</span> @ignore 可省略<span class="token operator">/</span>可忽略

<span class="token operator">===</span> 段内分隔<span class="token punctuation">,</span><span class="token number">3</span>个足矣

<span class="token operator">--</span><span class="token operator">-</span>xyz<span class="token operator">--</span><span class="token operator">-</span><span class="token operator">&gt;</span> 因果逻辑<span class="token punctuation">,</span>长度随心<span class="token punctuation">,</span>方向随意
<span class="token operator">==</span><span class="token operator">&gt;</span> 推导<span class="token operator">/</span>强逻辑
<span class="token operator">-</span><span class="token operator">&gt;&gt;</span> <span class="token operator">=</span> @see 其他地方已经写过了
<span class="token operator">&lt;</span><span class="token operator">--</span>xyz<span class="token operator">--</span><span class="token operator">&gt;</span> 存在对立关系 <span class="token operator">=</span> @vs

<span class="token comment">// ↓↓↓ 以下内容</span>
</code></pre></div><ul><li>标记注册(不常用的已经注释掉)</li></ul> <div class="language-js extra-class"><pre class="language-js"><code><span class="token comment">// 1) 前缀名词或其他</span>
@code 源码
@doc 文档
@wiki
@ref 引用<span class="token operator">/</span>参考
@bak 备份
@sum 总结
@steps 步骤

<span class="token comment">// @tutorial 教程</span>
<span class="token comment">// @team</span>
<span class="token comment">// @mvn</span>

@isbn
@by 作者或者相关的人
@<span class="token keyword">from</span> <span class="token operator">--</span><span class="token operator">&gt;</span> @<span class="token keyword">from</span><span class="token operator">??</span> 表示不确定来源或作者的

<span class="token comment">// @intro 介绍</span>
<span class="token comment">// @home 主页</span>
@org 官方
<span class="token comment">// @api 接口服务</span>
<span class="token comment">// @service</span>
<span class="token comment">// @ui 界面</span>
@dl 下载地址
<span class="token comment">// @skillmap</span>
<span class="token comment">// @roadmap</span>

@issue
@date
@repo
@pf<span class="token operator">/</span>@proof 证明

@os 内心独白
@ps 补充备注
@eg 举例
@etc 诸如此类
<span class="token comment">// @balabala </span>
@like 和什么类似

<span class="token comment">// 2) 后缀名词 </span>
@faq
@demo 案例
<span class="token comment">// @misc 杂项</span>
@ithink 个人观点
<span class="token comment">// @soul </span>
@main 主要内容
@dict 词霸
@summary 
@diff
@vs 竞品
@wip 半成品
@sub 替补内容
@other 其他不太重要的内容

<span class="token operator">===</span>
<span class="token comment">// 关联逻辑??</span>
@but
@and 
@or

<span class="token operator">===</span>
<span class="token comment">// 后缀形容词 </span>
@nice
@old 信息过时
@<span class="token keyword">get</span> 已获得    
@closed 闭源<span class="token operator">/</span>关闭
@deprecated 不推荐<span class="token operator">/</span>已过时
@local 本地资源
@yun 云资源

@attention 需要注意
@tip
<span class="token comment">// @thinking 保持判断</span>
@notnow 暂不处理
@notok
@doubt 质疑
@todo 
@ignore 
@digest 需要理解消化

<span class="token comment">// @wrong </span>
@minor 占少数派
@empty 言之无物
<span class="token comment">// @chinese 国内技术</span>
@zh 中文版<span class="token operator">/</span>中文的
@ad 可能存在广告内容
@<span class="token function">kpi</span> <span class="token punctuation">(</span>疑似<span class="token punctuation">)</span><span class="token constant">KPI</span>项目
@fun 有意思
@simple 简单<span class="token operator">/</span>简明
@easy 容易
@messy 混乱<span class="token operator">/</span>尚未整理
@useful
@esp

<span class="token comment">// @creative</span>
<span class="token comment">// @translated 译文(非原文)</span>
<span class="token comment">// @cantrun 项目无法运行(阅读)</span>
<span class="token comment">// @complex</span>

<span class="token comment">// @slow 慢速</span>
<span class="token comment">// @proxy 需要代理</span>

@nil<span class="token operator">/</span>@<span class="token keyword">null</span><span class="token operator">/</span>@none 失效<span class="token operator">/</span>找不到资源
@building 建设中
@archived
@lazy 不活跃
<span class="token comment">// @purchased</span>
@fix 已修复
@ugly 内容丑陋<span class="token operator">/</span>令人厌恶的

<span class="token operator">===</span>
<span class="token comment">// 动词</span>
@call sb<span class="token punctuation">.</span> 就是at<span class="token punctuation">,</span> 但是@符号被征用了
@thx 感谢

<span class="token operator">===</span>
<span class="token comment">// 常用品牌</span>
@mdn
@w3c

<span class="token comment">// @ruanyf </span>
<span class="token comment">// @liaoxf</span>
<span class="token comment">// @funtl</span>

<span class="token comment">// @juejin</span>
<span class="token comment">// @imooc</span>

<span class="token comment">// @runoob</span>
<span class="token comment">// @bilibili</span>

<span class="token comment">// @reilly</span>
<span class="token comment">// @github</span>
<span class="token comment">// @gitee</span>

<span class="token comment">// @bootcdn</span>
<span class="token comment">// @lanhu</span>
</code></pre></div><ul><li>JavaDoc参考</li></ul> <div class="language-java extra-class"><pre class="language-java"><code><span class="token annotation punctuation">@see</span>
<span class="token comment">// @link</span>
<span class="token comment">// @author</span>
<span class="token annotation punctuation">@since</span>
<span class="token annotation punctuation">@throws</span>

<span class="token punctuation">{</span><span class="token annotation punctuation">@literal</span> <span class="token generics"><span class="token punctuation">&lt;</span><span class="token class-name">Integer</span><span class="token punctuation">&gt;</span></span><span class="token punctuation">}</span>
<span class="token punctuation">(</span><span class="token annotation punctuation">@literal</span> <span class="token generics"><span class="token punctuation">&lt;</span><span class="token class-name">Integer</span><span class="token punctuation">&gt;</span></span><span class="token punctuation">)</span> 
</code></pre></div></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">最后更新:</span> <span class="time">5/5/2021, 9:53:16 PM</span></div></footer> <!----> </main></div><div class="global-ui"></div></div>
    <script src="/planb/assets/js/app.bdedf86b.js" defer></script><script src="/planb/assets/js/2.0fac2cb2.js" defer></script><script src="/planb/assets/js/8.9cfd571d.js" defer></script>
  </body>
</html>
